package com.lemonfish.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lemonfish.pojo.dto.UserDTO;
import com.lemonfish.pojo.dto.UserDTOLikeSearch;
import com.lemonfish.pojo.entity.User;

/**
 * User相关Service
 *
 * @author Lemonfish
 * @version 1.0
 * @date 2020-03-01
 * Copyright © ï¿½Å³ï¿½
 */
public interface UserService extends BaseCustomService<User> {
    IPage<User> getAllByLike(UserDTOLikeSearch content, long curPage, long pageSize, String order, String column);

    User checkUser(UserDTO userDTO);

    User checkUserByName(String username);

    int update(User user);

    IPage<User> getUserList(long curPage, long size, String order, String column);
}
